package com.example.networkinteraction.request.param;

import okhttp3.MediaType;
import okhttp3.RequestBody;

/**
 * Description:
 * File: JsonRequestParam.java
 * Author: Administrator
 * Create: 2019/3/29 0029 下午 15:53
 */
public class JsonRequestParam extends RequestParam {
    @Override
    public RequestBody buildRequestBody() {
        return RequestBody.create(MediaType.parse("application/json; charset=utf-8"), toJsonString());
    }
}
